package com.ruoyi.production.service.greenhousefilm;

import java.util.List;
import com.ruoyi.production.domain.greenhousefilm.GreenhousefilmPurchase;

/**
 * 棚膜购买信息Service接口
 *
 * @author ruoyi
 * @date 2021-07-12
 */
public interface IGreenhousefilmPurchaseService
{
    /**
     * 查询棚膜购买信息
     *
     * @param greenhousefilmPurchaseId 棚膜购买信息ID
     * @return 棚膜购买信息
     */
    public GreenhousefilmPurchase selectGreenhousefilmPurchaseById(Long greenhousefilmPurchaseId);

    /**
     * 查询棚膜购买信息列表
     *
     * @param greenhousefilmPurchase 棚膜购买信息
     * @return 棚膜购买信息集合
     */
    public List<GreenhousefilmPurchase> selectGreenhousefilmPurchaseList(GreenhousefilmPurchase greenhousefilmPurchase);

    /**
     * 新增棚膜购买信息
     *
     * @param greenhousefilmPurchase 棚膜购买信息
     * @return 结果
     */
    public int insertGreenhousefilmPurchase(GreenhousefilmPurchase greenhousefilmPurchase);

    /**
     * 修改棚膜购买信息
     *
     * @param greenhousefilmPurchase 棚膜购买信息
     * @return 结果
     */
    public int updateGreenhousefilmPurchase(GreenhousefilmPurchase greenhousefilmPurchase);

    /**
     * 批量删除棚膜购买信息
     *
     * @param greenhousefilmPurchaseIds 需要删除的棚膜购买信息ID
     * @return 结果
     */
    public int deleteGreenhousefilmPurchaseByIds(Long[] greenhousefilmPurchaseIds);

    /**
     * 删除棚膜购买信息信息
     *
     * @param greenhousefilmPurchaseId 棚膜购买信息ID
     * @return 结果
     */
    public int deleteGreenhousefilmPurchaseById(Long greenhousefilmPurchaseId);

    /**
     * 插入棚膜购买表更新棚膜量表
     * @param greenhousefilmPurchase
     * @return
     */
    public int insertPurchaseUpdateAmount(GreenhousefilmPurchase greenhousefilmPurchase);
}
